package com.lvs.zmwz.controller.admin;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.lvs.zmwz.entity.OrderList;
import com.lvs.zmwz.entity.Pinglun;
import com.lvs.zmwz.service.IOrderListService;
import com.lvs.zmwz.util.QPage;
import com.lvs.zmwz.util.ResultView;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author 
 * @since 2022-07-21
 */
@RestController
@RequestMapping("/api/admin/order-list")
public class OrderListController {

    @Autowired
    private IOrderListService iOrderListService;

    /**
     * 评论列表
     * @return
     */
    @GetMapping("/list")
    public ResultView list(QPage qPage, OrderList sysManagerSearch) {
        IPage<OrderList> hjRoleList=this.iOrderListService.getListAll(qPage,sysManagerSearch);
        return ResultView.ok(hjRoleList);
    }

}
